﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOperation
{
    public interface  Operation
    {
        /// <summary>
        /// 类的名称：（操作符）
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 左操作数
        /// </summary>
        string NumberA { get; set; }
        /// <summary>
        /// 右操作数
        /// </summary>
        string NumberB { get; set; }
        /// <summary>
        /// 计算结果
        /// </summary>
        /// <returns></returns>
        double GetResult();
    }
}
